<!--
    (c) 2007, Stephane Alnet
    
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 3
    of the License, or (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<div <TMPL_VAR NAME="ts_group">_signaling_type="hdlc chdlc ppp">
    <p>
        <label for="<TMPL_VAR NAME="ts_group">_local_ip">Local IP Address</label>
        <input type="text" name="<TMPL_VAR NAME="ts_group">_local_ip" id="<TMPL_VAR NAME="ts_group">_local_ip"
            dojoType="dijit.form.ValidationTextBox"
            regExp="[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"
            invalidMessage="Need IP Address"
            />
    </p>
    <p>
        <label for="<TMPL_VAR NAME="ts_group">_remote_ip">Remote IP Address</label>
        <input type="text" name="<TMPL_VAR NAME="ts_group">_remote_ip" id="<TMPL_VAR NAME="ts_group">_remote_ip"
            dojoType="dijit.form.ValidationTextBox"
            regExp="[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"
            invalidMessage="Need IP Address"
            />
    </p>
    <!-- Note: we use the Remote IP as gateway by default, no need to ask -->
    <p>
        <label for="<TMPL_VAR NAME="ts_group">_netmask">Network Mask</label>
        <input type="text" name="<TMPL_VAR NAME="ts_group">_netmask" id="<TMPL_VAR NAME="ts_group">_netmask"
            dojoType="dijit.form.ValidationTextBox"
            regExp="[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}"
            invalidMessage="Need Network Mask"
            default_value="255.255.255.252"
            />
    </p>
    
    <p>
        <label for="<TMPL_VAR NAME="ts_group">_mtu">MTU</label>
        <input type="text" name="<TMPL_VAR NAME="ts_group">_mtu" id="<TMPL_VAR NAME="ts_group">_mtu"
            dojoType="dijit.form.NumberTextBox"
            constraints="{min:48,max:3000,places:0}"
            default_value="1500"
            />
    </p>
    <p>
        <label for="<TMPL_VAR NAME="ts_group">_mru">MRU</label>
        <input type="text" name="<TMPL_VAR NAME="ts_group">_mru" id="<TMPL_VAR NAME="ts_group">_mru"
            dojoType="dijit.form.NumberTextBox"
            constraints="{min:48,max:3000,places:0}"
            default_value="1500"
            />
    </p>
</div>
